package cn.xej.boot_redis01.service;

/**
 * @Author alicat.xu
 * @Date 2021/11/16 3:19 下午
 */
public interface RedisService {

    void set(String key,String value);

    String get(String key);

    boolean expire(String key,long expire);

    void remove(String key);

    Long increment(String key,long delta);
}
